﻿using System;

namespace Borg.AddOn
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
    public sealed class ParameterAttribute : Attribute
    {
        private readonly string _name;

        public string Name
        {
            get { return _name; }
        }

        public ParameterAttribute(string name)
        {
            if (name == null)
                throw new ArgumentNullException("name");

            _name = name;
        }
    }
}
